<form action="/entries" class="filter" id="index_filter_form" method="get">
  <div id="filter_title" class="expand">Edit Filters</div>
  <div class="collapse">
    <p>
      <label for="filter_author">Author</label><br />
      <span class="align_right">
        <input id="filter_author" name="filter_author" type="text" />
      </span>
    </p>
  <% for filter in @filters %>
     <p>
      <label for="<%= filter[:name] %>">
        <%= filter[:display_name] %>
      </label><br />
      <span class="align_right">
        <input class="<%= filter[:input_class] %>" id="<%= filter[:name] %>"
          name="<%= filter[:name] %>" type="<%= filter[:input_type] %>" />
      </span>
    </p>
  <% end %>
    <p>
      <%= render :partial => "index_limit_select" %>
    </p>
    <p class="align_right">
      <input class="button" type="reset" value="Clear" />
      <input class="button" id="filter_submit" type="submit" value="Apply" />
    </p>
  </div>
</form>

